package com.lhsy.djcloud.controller.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author wangzw
 * @since 2020-09-14
 */
@Data
@ApiModel(value="党员")
public class EmployeeVo implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "编辑党员id",required = true)
    private Integer id;
    /**
     * 手机
     */
    @ApiModelProperty(value = "手机",required = true)
    private String mobile;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱",required = true)
    private String email;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名",required = true)
    private String empName;

    /**
     * 性别 1=男 2=女
     */
    @ApiModelProperty(value = "性别 1=男 2=女",required = true)
    private Integer sex;

    /**
     * 年龄
     */
    @ApiModelProperty(value = "年龄",required = true)
    private Integer age;

    /**
     * 身份证号
     */
    @ApiModelProperty(value = "身份证号",required = true)
    private String idCard;

    /**
     * 工作时间
     */
    @ApiModelProperty(value = "工作时间 yyyy-MM-dd",required = true)
    @JsonFormat( pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date workTime;

    /**
     * 入党时间
     */
    @ApiModelProperty(value = "入党时间 yyyy-MM-dd",required = true)
    @JsonFormat( pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date partyTime;

    /**
     * 籍贯
     */
    @ApiModelProperty(value = "籍贯",required = true)
    private String nativePlace;

    /**
     * 户口
     */
    @ApiModelProperty(value = "户口",required = true)
    private String registeredPlace;

    /**
     * 地址
     */
    @ApiModelProperty(value = "地址",required = true)
    private String address;

    /**
     * 部门id
     */
    @ApiModelProperty(value = "部门id",required = true)
    private Integer deptId;
}
